-- GENERATED SPELL FOR [Land Rager] --


function spell0_5465(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_5465', 635, 1)
end

function Sorts_5465(pUnit, Event)
local choix_sorts_5465 = math.random(0, 0)
if choix_sorts_5465 == 0 then
pUnit:RegisterEvent('spell0_5465', 1, 1)
end
end

function mob5465_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5465', math.random(1500, 3000), 1)
end

function mob5465_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5465_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5465_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5465, 1, 'mob5465_Action')
RegisterUnitEvent(5465, 2, 'mob5465_Leave')
RegisterUnitEvent(5465, 3, 'mob5465_Kill')
RegisterUnitEvent(5465, 4, 'mob5465_Die')
